#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
#include <QMessageBox>
#include <QDebug>
#include <QFileDialog>
#include <QAxObject>
//#incldue <QDesktopServices>
#include <QPalette>
#include "addgoods.h"
#include "warehousing.h"
#include "delivery.h"
#include "datasum.h"

QT_BEGIN_NAMESPACE
namespace Ui { class mainwidget; }
QT_END_NAMESPACE

class mainwidget : public QWidget
{
    Q_OBJECT

public:
    mainwidget(QWidget *parent = nullptr);
    ~mainwidget();
public:
    void connectMySQLDatabaseFunc();
    void addTableWidgetHeaderFunc();




private slots:
    void on_pushButton_GoodsAdd_clicked();

    void on_pushButton_GoodsDelete_clicked();

    void on_pushButton_GoodsWarehousing_clicked();

    void on_pushButton_GoodsDelivery_clicked();

    void on_pushButton_ExportData_clicked();

    void on_pushButton_RollupData_clicked();

    void on_pushButton__DataSearch_clicked();

    void on_pushButton_RollupData_2_clicked();

private:
    Ui::mainwidget *ui;
};
#endif // MAINWIDGET_H
